home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / rtncd104.arc / RETNCODE.DOC < prev   
Encoding:
Text File  |  1987-01-12  |  3.8 KB  |  94 lines

  1.  
  2.                    RETNCODE : Get Process Return Code Program
  3.                            Version 1.04, 12-Jan-1987
  4.                                   SMG Software
  5.  
  6.                            (C) Copyright 1986,1987 by
  7.                                Steven Georgiades
  8.                               All Rights Reserved
  9.  
  10.  
  11.  
  12.          This program execute the program specified on  the  command  line, 
  13.     and will respond with that program's return code.  The return code of a 
  14.     program can be accessed from within a batch file through the use of the 
  15.     IF  ERRORLEVEL  construct,  but  DOS  provides no means to access these 
  16.     codes at the command line.  This program fills that void.  
  17.  
  18.  
  19.     Command Format:
  20.  
  21.          RETNCODE [d:][path]program.ext [param1 [param2 [...]]]
  22.  
  23.               d:          = Optional Drive Letter
  24.               path        = Optional Path Specification
  25.               program.ext = Program Name to be Executed
  26.               parm1       = 1st Parameter for program.ext
  27.               parm2       = 1st Parameter for program.ext
  28.  
  29.  
  30.     
  31.     Examples:
  32.  
  33.          RETNCODE C:\MYPROG.COM  (Will  print the return code returned 
  34.                                   by the program MYPROG.COM located in 
  35.                                   the root directory of drive C:) 
  36.  
  37.  
  38.          RETNCODE C:\DOIT.EXE A: (Will print the return code  returned 
  39.                                   by  the  program DOIT.EXE located in 
  40.                                   the root directory of drive C:, with 
  41.                                   command line parameter "A:") 
  42.  
  43. RETNCODE, Version 1.04                                                   Page 2
  44.  
  45.  
  46.  
  47.          This software is distributed as ShareWare.  "ShareWare" means that 
  48.     you  are granted free license to use and copy this software as much  as 
  49.     you like, within the following restrictions: 
  50.  
  51.          1).  It  is  distributed  in  its  original,   unmodified  form, 
  52.               including program and documentation. 
  53.  
  54.          2).  No  fee is charged for use,  copying or distribution  (With 
  55.               the exception of nominal "per disk" copying charges, not to 
  56.               exceed $6.00 per disk).  
  57.  
  58.          3).  The  program  may  not  be included  with  other  goods  or 
  59.               services  supplied for a fee,  unless written permission to 
  60.               do so is obtained in advance from the author.  
  61.  
  62.     No  registration fees are required for this program,  but if you  would 
  63.     like to have the program customized in some minor way, a nominal fee of 
  64.     $10 is required.  The fee for major customization is negotiable, but in 
  65.     most cases will not exceed $25.  
  66.     
  67.     This program is provided AS  IS  without  any  warranty,  expressed  or 
  68.     implied,  including  but  not  limited  to  fitfulness for a particular 
  69.     purpose.  
  70.  
  71.          If  you have any questions or comments about this or any other SMG 
  72.     program, or if you would like to register any SMG Software, write to me 
  73.     at the following address: 
  74.  
  75.                 Steven M. Georgiades
  76.                 SMG Software
  77.                 701-H South Hayward Street
  78.                 Anaheim, CA  92804
  79.  
  80.     Or leave a message for me on the Circuit Board:
  81.  
  82.                 The Circuit Board RBBS
  83.                 SysOp: Dave Kleinschmidt
  84.                 (714) 778-0948
  85.                 300/1200/2400 Baud, No Fee
  86.  
  87.     All  SMG  Software  is  initially released to the  public  through  the 
  88.     Circuit  Board.   The latest version of any SMG Software can always  be 
  89.     found there.  
  90.  
  91.     A diskette containing all of the latest SMG Software can be obtained by 
  92.     sending  a check or money order for $6.00  to the above address.   Make 
  93.     all checks payable to Steven M. Georgiades.  Thank you.  
  94.